package com.gdit.revenue.dao;

import com.gdit.revenue.model.Role;
import com.gdit.revenue.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RoleDao {

    //查询role表数据
    @Select("select * from role")  // 检 索记录行 offset-limit   如：0-4 5-9
    List<Role> getAllRoles();
}
